# == Class: setproxy
#
# Full description of class setproxy here.
#
# === Parameters
#
# [*sample_parameter*]
#   Explanation of what this parameter affects and what it defaults to.
#
class setproxy (
  $proxy = 'proxy-1a.davinciservicess.net',
  $proxyport = '3128',
) inherits setproxy::params {

  # validate parameters here
  validate_string($proxy)
  if type($proxyport) != 'integer' { fail('Proxyport is not an integer') }

  class { 'setproxy::config': } ->
  Class['setproxy']
}
